const ADD_TODO = 'add_todo'
const LOGININFO='loginInfo'
const SAVECDONF = 'save_conf'


export const add_todo=(text)=>{
    console.log(text)
    return {type:ADD_TODO,data:text}
}
export const  login_info=(info)=>{
    return {type:LOGININFO,sid:info}
}

export const saveConf=(conf)=>{
    return {
        type:SAVECDONF,
        conf
    }
}


//action